import IUserCenterUpdatePasswordForm from '@/model/form/userCenter/IUserCenterUpdatePasswordForm'
import IResVO from '@/model/vo/common/IResVO'
import $http from '@/util/http'
import { AxiosResponse } from 'axios'

// 修改密码
export default function userCenterUpdatePasswordApi(
  form: IUserCenterUpdatePasswordForm
) {
  return $http.post<
    IResVO,
    AxiosResponse<IResVO>,
    IUserCenterUpdatePasswordForm
  >('/userCenter/updatePassword', form)
}
